class ParamWatcher:
    params = set()
    def __init__(self):
        pass
        
    def __setattr__(self, name, value):
        if name not in self.params:
            self.params.add(name)
        super().__setattr__(name, value)
        
    def show_all_params(self):
        return {k: getattr(self, k) for k in self.params}